package com.scvtc.mapper.teacher;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scvtc.domain.entity.teacher.TeacherBase;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
 * 教师基本信息(TeacherBase)表数据库访问层
 *
 * @author yiFei
 * @since 2022-04-13 17:38:29
 */
public interface TeacherBaseMapper extends BaseMapper<TeacherBase> {
    /**
     * 教师等级（charts 图）
     *
     * @return
     */
    @MapKey(value = "name")
    List<Map<String, Object>> chartDegree();
}

